<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 

<html> 
    <head> 
        <title>Documento HTML con estilos</title>
         <style type="text/css" media="screen">
            h1 { color: blue }
         </style>
         <style type="text/css" media="print">
            h1 { 
                color: red;
                text-align: center;
            }
         </style>
    </head> 
    <body>
        <h1>Contenido de elemento h1</h1>
    </body>
</html>
